package com.ruoyi.finance.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预付款对象 tb_advance
 * 
 * @author ruoyi
 * @date 2023-11-24
 */
public class Advance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预付款id */
    private Long advanceId;

    /** 关联申请预付款表(tb_request_advance) */
    @Excel(name = "关联申请预付款表(tb_request_advance)")
    private Long requestId;

    /** 付款状态 */
    @Excel(name = "付款状态")
    private String advanceStatus;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicant;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationDate;

    /** 删除状态 0存在1删除 */
    private String deleteStatus;

    /** 预约金额 */
    private BigDecimal requestAmount;
    /** 实付款记录 */
    private String requestRecording;
    /** 申请金额 */
    private BigDecimal amountRequested;
    /** 备注 */
    private String requestRemark;
    /** 采购单号 */
    private String ordersNumber;
    /** 供应商编号 */
    private String vendorNumber;
    /** 供应商名称*/
    private String name;
    /** 货币 */
    private String monetaryName;
    /** 供应商id */
    private Long id;
    /** 预付款类型 */
    private String paymentType;



    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getRequestAmount() {
        return requestAmount;
    }

    public void setRequestAmount(BigDecimal requestAmount) {
        this.requestAmount = requestAmount;
    }

    public String getRequestRemark() {
        return requestRemark;
    }

    public void setRequestRemark(String requestRemark) {
        this.requestRemark = requestRemark;
    }

    public String getOrdersNumber() {
        return ordersNumber;
    }

    public void setOrdersNumber(String ordersNumber) {
        this.ordersNumber = ordersNumber;
    }

    public String getVendorNumber() {
        return vendorNumber;
    }

    public void setVendorNumber(String vendorNumber) {
        this.vendorNumber = vendorNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMonetaryName() {
        return monetaryName;
    }

    public void setMonetaryName(String monetaryName) {
        this.monetaryName = monetaryName;
    }

    public void setAdvanceId(Long advanceId)
    {
        this.advanceId = advanceId;
    }

    public Long getAdvanceId() 
    {
        return advanceId;
    }
    public void setRequestId(Long requestId) 
    {
        this.requestId = requestId;
    }

    public Long getRequestId() 
    {
        return requestId;
    }
    public void setAdvanceStatus(String advanceStatus) 
    {
        this.advanceStatus = advanceStatus;
    }

    public String getAdvanceStatus() 
    {
        return advanceStatus;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }
    public void setApplicationDate(Date applicationDate) 
    {
        this.applicationDate = applicationDate;
    }

    public Date getApplicationDate() 
    {
        return applicationDate;
    }
    public void setDeleteStatus(String deleteStatus) 
    {
        this.deleteStatus = deleteStatus;
    }

    public String getDeleteStatus() 
    {
        return deleteStatus;
    }

    public String getRequestRecording() {
        return requestRecording;
    }

    public void setRequestRecording(String requestRecording) {
        this.requestRecording = requestRecording;
    }

    public BigDecimal getAmountRequested() {
        return amountRequested;
    }

    public void setAmountRequested(BigDecimal amountRequested) {
        this.amountRequested = amountRequested;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advanceId", getAdvanceId())
            .append("requestId", getRequestId())
            .append("advanceStatus", getAdvanceStatus())
            .append("applicant", getApplicant())
            .append("applicationDate", getApplicationDate())
            .append("deleteStatus", getDeleteStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
